-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/dc 3170 redis connect error #147
Conversation
lib/models/App.js
Outdated
return this | ||
} catch (err) { | ||
console.error('error when starting app', err); | ||
if (this.config && this.config.app && this.config.app.throwAndStopWhenError) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be a fix rather than needing backward compatibility, a service should not start if the dependency fail
also when a client chooses to upgrade sl-express, they should be aware our change
consider reducing code complexity
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
maxRetryDelayMs
config for redis